package com.sz.stock.model;

import java.math.BigDecimal;
import java.util.Date;

public class Moneytrad {
    private Integer tradid;

    private Integer userid;

    private Date tradtime;

    private BigDecimal tradmoney;

    private Short tradstate;

    public Moneytrad(Integer tradid, Integer userid, Date tradtime, BigDecimal tradmoney, Short tradstate) {
        this.tradid = tradid;
        this.userid = userid;
        this.tradtime = tradtime;
        this.tradmoney = tradmoney;
        this.tradstate = tradstate;
    }


    public Moneytrad(Integer userid, BigDecimal tradmoney, Short tradstate) {
        this.tradid = tradid;
        this.userid = userid;
        this.tradtime = tradtime;
        this.tradmoney = tradmoney;
        this.tradstate = tradstate;
    }

    public Moneytrad() {
        super();
    }

    public Integer getTradid() {
        return tradid;
    }

    public void setTradid(Integer tradid) {
        this.tradid = tradid;
    }

    public Integer getUserid() {
        return userid;
    }

    public void setUserid(Integer userid) {
        this.userid = userid;
    }

    public Date getTradtime() {
        return tradtime;
    }

    public void setTradtime(Date tradtime) {
        this.tradtime = tradtime;
    }

    public BigDecimal getTradmoney() {
        return tradmoney;
    }

    public void setTradmoney(BigDecimal tradmoney) {
        this.tradmoney = tradmoney;
    }

    public Short getTradstate() {
        return tradstate;
    }

    public void setTradstate(Short tradstate) {
        this.tradstate = tradstate;
    }
}